package com.example.ytyproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.ytyproject.entity.Menu;
import com.example.ytyproject.entity.vo.PermissionAllocationVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yg
 * @since 2023-10-27
 */
public interface MenuService extends IService<Menu> {

    PermissionAllocationVo tree(String roleId);

    void addData(Menu param);

    void updateData(Menu param);

    Menu findByCode(String code);

    List<Menu> listMenus();
}
